package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeReport;
import sanshui.system.trade.db.entity.TradeReportExample;

public interface TradeReportMapper {
    long countByExample(TradeReportExample example);

    int deleteByExample(TradeReportExample example);

    int deleteByPrimaryKey(Long reportId);

    int insert(TradeReport record);

    int insertSelective(TradeReport record);

    List<TradeReport> selectByExampleWithRowbounds(TradeReportExample example, RowBounds rowBounds);

    List<TradeReport> selectByExample(TradeReportExample example);

    TradeReport selectByPrimaryKey(Long reportId);

    int updateByExampleSelective(@Param("record") TradeReport record, @Param("example") TradeReportExample example);

    int updateByExample(@Param("record") TradeReport record, @Param("example") TradeReportExample example);

    int updateByPrimaryKeySelective(TradeReport record);

    int updateByPrimaryKey(TradeReport record);
}